<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="his" uri="http://www.trkj.com/tags/his"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="<c:url value="/css/themes/default/easyui.css"/>">
<link rel="stylesheet" type="text/css" href="<c:url value="/css/themes/icon.css"/>">

<link rel="stylesheet" type="text/css" href="<c:url value="/css/themes/yzr_style.css"/>">
<link rel="stylesheet" type="text/css" href="<c:url value="/css/themes/jl_icon.css"/>">
<link rel="stylesheet" type="text/css" href="<c:url value="/css/themes/hwc_icons.css"/>">

<script type="text/javascript" src="<c:url value="/js/jquery.min.js"/>"></script>
<script type="text/javascript" src="<c:url value="/js/jquery.easyui.min.js"/>"></script>
<script type="text/javascript" src="<c:url value="/js/easyui-lang-zh_CN.js"/>"></script>

<title>黄伟成的导航页</title>
</head>
<style>
	ul,li{
		padding: 0px;
		margin: 0px;
		list-style: none;
		text-align:center;
	}
	li{
	height:30px;
}
.cc_item{
	padding-top:5px;
}
.cc_dis{
	display: none;
}
</style>

<script type="text/javascript">
	$(function(){
		$(".nav_btn").linkbutton({onClick: function(){
			var title = $(this).attr("title");
			var url = $(this).attr("url");
			
			if($("#tt").tabs("exists", title)){
				$("#tt").tabs("select", title);
			}else{
				var config = {
						title: title,
						href: url,
						closable: true
					}
				$("#tt").tabs("add", config);
			}
		}});
		
		//关闭当前
		$("#btn_close_current").linkbutton({onClick:function(){
			var tab = $('#tt').tabs('getSelected');
			var index = $('#tt').tabs('getTabIndex',tab);
			if(index != 0){
				$('#tt').tabs('close',index);
			}
		}})
		
		//关闭所有
		$("#btn_close_all").linkbutton({onClick:function(){
			var tabs = $('#tt').tabs('tabs');
			for(var i = tabs.length - 1; i > 0; i --){
				$('#tt').tabs('close',i);
			}
		}})
	});
</script>
<body class="easyui-layout">

	<!-- 标题横幅 -->
	<div data-options="region:'north'"  style="height:110px;background: url(css/themes/img/yzr_beijing4.jpg);">
		<h1 style="display:inline;position:relative;top:40%;left:45%;font-size:36px;font-family:'华文行楷';color:#6699FF;">中心医院医疗管理服务系统</h1>
		<div style="display:inline;position:relative;top:55%;left:50%;font-size:16px;font-family:'隶书';">
			${staffName},员工编号 
			<a id="cancel_btn" href="#" class="easyui-linkbutton" data-options="plain:true" style="color:red;">[注销]</a>
		</div>
	</div>
	
	<!-- 导航栏 -->
  <div data-options="region:'west',title:'工具栏',split:true,iconCls:'icon-daohang'"
		style="width: 200px;">
    	<div id="aa" class="easyui-accordion" data-options="fit:true, border: false" style="background:#F4F4F4;">
		    <div data-options="iconCls:'icon-jijiu'" title="急症管理" style="overflow: auto">
				<ul>
					<li><his:fun pid="2"><a class="easyui-linkbutton nav_btn" url="tojl_IcManagement" data-options="plain:true,iconCls:'icon-Icguanli',fit:true" title="IC卡管理">IC卡管理</a></his:fun></li>
					<li><a class="easyui-linkbutton nav_btn" url="tojl_case" data-options="plain:true,iconCls:'icon-bingli',fit:true" title="病例管理">病例查询</a></li>
					<li><a class="easyui-linkbutton nav_btn" url="tojl_alarm" data-options="plain:true,iconCls:'icon-baojing',fit:true" title="报警管理">报警管理</a></li>
					<li><a class="easyui-linkbutton nav_btn" url="tojl_registration" data-options="plain:true,iconCls:'icon-guahao',fit:true" title="挂号管理">挂号管理</a></li>
					<his:fun pid="5"><li><a class="easyui-linkbutton nav_btn" url="tojl_seeDoctor" data-options="plain:true,iconCls:'icon-jiuzheng',fit:true" title="就诊管理">就诊管理</a></li></his:fun>
					<his:fun pid="6"><li><a class="easyui-linkbutton nav_btn" url="tostuclass" data-options="plain:true,iconCls:'icon-shoufei',fit:true" title="收费划价">收费划价</a></li></his:fun>
					<li><a class="easyui-linkbutton nav_btn" url="tojl_checkManage" data-options="plain:true,iconCls:'icon-jiancha',fit:true" title="检验管理">检验管理</a></li>		
				
				</ul>
			</div>
			
			<div data-options="iconCls:'icon-menzheng'" title="门诊管理" style="overflow: auto">
				<ul>
					<li><a class="easyui-linkbutton nav_btn" url="tostuclass" data-options="plain:true,iconCls:'icon-Icguanli',fit:true" title="IC卡管理">IC卡管理</a></li>
					<li><a class="easyui-linkbutton nav_btn" url="tostuclass" data-options="plain:true,iconCls:'icon-bingli',fit:true" title="病例管理">病例管理</a></li>
					<li><a class="easyui-linkbutton nav_btn" url="tostuclass" data-options="plain:true,iconCls:'icon-guahao',fit:true" title="挂号管理">挂号管理</a></li>
					<li><a class="easyui-linkbutton nav_btn" url="tostuclass" data-options="plain:true,iconCls:'icon-jiuzheng',fit:true" title="就诊管理">就诊管理</a></li>
					<li><a class="easyui-linkbutton nav_btn" url="tostuclass" data-options="plain:true,iconCls:'icon-shoufei',fit:true" title="收费划价">收费划价</a></li>
					<li><a class="easyui-linkbutton nav_btn" url="tostuclass" data-options="plain:true,iconCls:'icon-jiancha',fit:true" title="检验管理">检验管理</a></li>		
				</ul>
			</div>
		    <div data-options="iconCls:'icon-chuang'" title="住院服务" style="overflow: auto">
				<ul>
					<li><a class="easyui-linkbutton nav_btn" url="cc_patient" data-options="plain:true,iconCls:'icon-bingren',fit:true" title="病人管理">病人管理</a></li>
					<his:fun pid="10"><li><a class="easyui-linkbutton nav_btn" url="tocc_inhospital" data-options="plain:true,iconCls:'icon-banlizhuyuan',fit:true" title="住院办理">住院办理</a></li></his:fun>
					<li><a class="easyui-linkbutton nav_btn" url="cc_berth" data-options="plain:true,iconCls:'icon-chuangwei',fit:true" title="床位管理">床位管理</a></li>
					<his:fun pid="12"><li><a class="easyui-linkbutton nav_btn" url="cc_ward" data-options="plain:true,iconCls:'icon-bingfang',fit:true" title="病房管理">病房管理</a></li></his:fun>
					<li><a class="easyui-linkbutton nav_btn" url="tocc_payment" data-options="plain:true,iconCls:'icon-zhuyuanjiaofei',fit:true" title="缴费管理">缴费管理</a></li>
					<li><a class="easyui-linkbutton nav_btn" url="cc_hosp_electronic" data-options="plain:true,iconCls:'icon-dianzichufang',fit:true" title="住院处方">住院处方</a></li>
					<li><a class="easyui-linkbutton nav_btn" url="" data-options="plain:true,iconCls:'icon-shoushu',fit:true" title="手术管理">手术管理</a></li>
					<li><a class="easyui-linkbutton nav_btn" url="" data-options="plain:true,iconCls:'icon-zhuyuanbingli',fit:true" title="病例管理">病例管理</a></li>
					<his:fun pid="16"><li><a class="easyui-linkbutton nav_btn" url="" data-options="plain:true,iconCls:'icon-chuyuanbanli',fit:true" title="出院办理">出院办理</a></li></his:fun>
					<li><a class="easyui-linkbutton nav_btn" url="" data-options="plain:true,iconCls:'icon-zhuyuanjilu',fit:true" title="住院记录">住院记录</a></li>
				</ul>
			</div>
		    <div title="药库管理" data-options="iconCls:'icon-yk'" style="overflow:auto;padding:10px;background:#F4F4F4;">
				<ul>
					<li><a title="药品管理" url="to_medicine" class="easyui-linkbutton nav_btn" data-options="iconCls:'icon-medicine', plain:true,fit:true">药品管理</a> </li>
					<li><a title="仓库管理" url="to_storehouse" class="easyui-linkbutton nav_btn" data-options="iconCls:'icon-cangku', plain:true,fit:true">仓库管理</a> </li>
					<li><a title="供应商" url="to_supplier" class="easyui-linkbutton nav_btn" data-options="iconCls:'icon-gys', plain:true,fit:true">供应商&nbsp;</a> </li>
					<li><a title="采购计划" url="to_medPurchPlan" class="easyui-linkbutton nav_btn"  data-options="iconCls:'icon-cgjihua', plain:true,fit:true">采购计划</a> </li>
					<li><a title="药品采购" url="to_purchOrder" class="easyui-linkbutton nav_btn"  data-options="iconCls:'icon-caigou', plain:true,fit:true">药品采购</a> </li>
					<li><a title="药品验收" url="to_checkMed" class="easyui-linkbutton nav_btn" data-options="iconCls:'icon-yanshou', plain:true,fit:true">药品验收</a> </li>
					<li><a title="药品入库" url="" class="easyui-linkbutton nav_btn" data-options="iconCls:'icon-instock', plain:true,fit:true">药品入库</a> </li>
					<li><a title="药品库存" url="" class="easyui-linkbutton nav_btn" data-options="iconCls:'icon-stock', plain:true,fit:true">药品库存</a> </li>
					<li><a title="药品盘点" url="" class="easyui-linkbutton nav_btn" data-options="iconCls:'icon-pandian', plain:true,fit:true">药品盘点</a> </li>
					<li><a title="药品提领" url="" class="easyui-linkbutton nav_btn" data-options="iconCls:'icon-pick', plain:true,fit:true">药品提领</a> </li>
					<li><a title="药品报损" url="" class="easyui-linkbutton nav_btn" data-options="iconCls:'icon-baosun', plain:true,fit:true">药品报损</a> </li>
					<li><a title="药品调拨" url="" class="easyui-linkbutton nav_btn" data-options="iconCls:'icon-diaobo', plain:true,fit:true">药品调拨</a> </li>
					<li><a title="药品出库" url="" class="easyui-linkbutton nav_btn" data-options="iconCls:'icon-outstock', plain:true,fit:true">药品出库</a> </li>					
				</ul>
		    </div>
		    <div title="药房管理" data-options="iconCls:'icon-yf'" style="overflow:auto;padding:10px;background:#F4F4F4;">
				<ul>
					<li><a title="药房管理" url="to_pharmacy" class="easyui-linkbutton nav_btn" data-options="iconCls:'icon-yf', plain:true">药房管理</a> </li>
					<li><a title="药房入库" url="" class="easyui-linkbutton nav_btn" data-options="iconCls:'icon-instock', plain:true">药房入库</a> </li>
					<li><a title="药房库存" url="" class="easyui-linkbutton nav_btn" data-options="iconCls:'icon-stock', plain:true">药房库存</a> </li>
					<li><a title="药房报损" url="" class="easyui-linkbutton nav_btn" data-options="iconCls:'icon-baosun', plain:true">药房报损</a> </li>
					<li><a title="药房领药" url="" class="easyui-linkbutton nav_btn" data-options="iconCls:'icon-pick', plain:true">药房领药</a> </li>
					<li><a title="药房发药" url="" class="easyui-linkbutton nav_btn" data-options="iconCls:'icon-linyao', plain:true">药房发药</a> </li>
					<li><a title="病人退药" url="" class="easyui-linkbutton nav_btn" data-options="iconCls:'icon-tuiyao', plain:true">病人退药</a> </li>
					<li><a title="药房盘点" url="" class="easyui-linkbutton nav_btn" data-options="iconCls:'icon-pandian', plain:true">药房盘点</a> </li>
				</ul>
		    </div>
		    <div title="耗材管理" data-options="iconCls:'icon-skiing'" style="overflow:auto;padding:10px;">
				<ul>
					<li><a title="耗材采购" url="to_lmb_hcj" class="easyui-linkbutton nav_btn" data-options="iconCls:'', plain:true,fit:true">耗材采购</a></li>
					<li><a title="耗材验收" url="to_lmb_hy"  class="easyui-linkbutton nav_btn" data-options="iconCls:'', plain:true,fit:true">耗材验收</a></li>
					<li><a title="耗材退货" url="to_lmb_ht"  class="easyui-linkbutton nav_btn" data-options="iconCls:'', plain:true,fit:true">耗材退货</a></li>
					<li><a title="耗材入库" url="to_lmb_hr"  class="easyui-linkbutton nav_btn" data-options="iconCls:'', plain:true,fit:true">耗材入库</a></li>
					<li><a title="耗材领用" url="to_lmb_hl" class="easyui-linkbutton nav_btn" data-options="iconCls:'', plain:true,fit:true">耗材领用</a></li>
					<li><a title="耗材出库" url="" class="easyui-linkbutton nav_btn" data-options="iconCls:'', plain:true,fit:true">耗材出库</a></li>
					<li><a title="耗材调拨" url="" class="easyui-linkbutton nav_btn" data-options="iconCls:'', plain:true,fit:true">耗材调拨</a></li>
					<li><a title="耗材损溢" url="" class="easyui-linkbutton nav_btn" data-options="iconCls:'', plain:true,fit:true">耗材损溢</a></li>
					<li><a title="耗材盘点" url="" class="easyui-linkbutton nav_btn" data-options="iconCls:'', plain:true,fit:true">耗材盘点</a></li>
				</ul>
		    </div>
		     <div title="器械管理" data-options="iconCls:'icon-skiing'" style="overflow:auto;padding:10px;">
				<ul>
					<li><a title="器械采购" url="" class="easyui-linkbutton nav_btn" data-options="iconCls:'', plain:true,fit:true">器械采购</a> </li>
					<li><a title="器械验收" url="" class="easyui-linkbutton nav_btn" data-options="iconCls:'', plain:true,fit:true">器械验收</a> </li>
					<li><a title="器械入库" url="" class="easyui-linkbutton nav_btn" data-options="iconCls:'', plain:true,fit:true">器械入库</a> </li>
					<li><a title="器械领用" url="" class="easyui-linkbutton nav_btn" data-options="iconCls:'', plain:true,fit:true">器械领用</a> </li>
					<li><a title="器械调拨" url="" class="easyui-linkbutton nav_btn" data-options="iconCls:'', plain:true,fit:true">器械调拨</a> </li>
					<li><a title="器械损溢" url="" class="easyui-linkbutton nav_btn" data-options="iconCls:'', plain:true,fit:true">器械损溢</a> </li>
					<li><a title="器械盘点" url="" class="easyui-linkbutton nav_btn" data-options="iconCls:'', plain:true,fit:true">器械盘点</a> </li>
				</ul>
		    </div>
		     <div title="设备管理" data-options="iconCls:'icon-skiing'" style="overflow:auto;padding:10px;">
				<ul>
					<li><a title="设备使用" url="" class="easyui-linkbutton nav_btn" data-options="iconCls:'', plain:true,fit:true">设备使用</a> </li>
					<li><a title="设备维护" url="" class="easyui-linkbutton nav_btn" data-options="iconCls:'', plain:true,fit:true">设备维护</a> </li>
				</ul>
		    </div>
		    <!-- 后台管理 -->
		    <div title="后台管理" data-options="iconCls:'icon-hwc_background'" syle="overflow:auto;padding:10px;">
		    	<ul>
		    	
		    		<li><a title="人员管理" url="toStaff" class="easyui-linkbutton nav_btn" data-options="iconCls:'icon-hwc_staff', plain:true,fit:true">人员管理</a></li>
		    		<li><a title="科室管理" url="toDepartment" class="easyui-linkbutton nav_btn" data-options="iconCls:'icon-hwc_dept', plain:true,fit:true">科室管理</a></li>
		    		<li><a title="权限管理" url="hwc_toPower" class="easyui-linkbutton nav_btn" data-options="iconCls:'icon-hwc_power', plain:true,fit:true">权限管理</a></li>
		    		<!-- <li><a title="排班管理" url="to_hwcScheduling" class="easyui-linkbutton nav_btn" data-options="iconCls:'icon-hwc_lajitong', plain:true,fit:true">排班管理</a></li> -->
	 		    	<li><a title="排班管理" url="to_hwcScheduling" class="easyui-linkbutton nav_btn" data-options="iconCls:'icon-hwc_scheduling', plain:true,fit:true">排班管理</a></li>
		    		
		    	</ul>
		    </div>
		</div>

    </div>
   	<style>
   		#hwc-weather{
   			width:230px;
   			height:95px;
   			float:right;
   			position:relative;
   			top:-80px;
   			left:10px;
   		}
   		
   	</style>
    <!-- 主体 -->
    <div data-options="region:'center'">
    	<div id="tt" class="easyui-tabs" data-options="fit:true, border:false, tools: '#tab-tools'">
		    <div title="首页" style="padding:20px;display:none;background: #D5E8EE;">
				首页
				<h1 id="hhh">显示该人员的排班信息</h1>
				<!-- 天气插件 -->
				<div id="hwc-weather">
					<iframe name="weather_inc" src="http://i.tianqi.com/index.php?c=code&id=7" style="border:solid 1px #7ec8ea" width="225" height="90" frameborder="0" marginwidth="0" marginheight="0" scrolling="no"></iframe>
				</div>
				
		    </div>
		</div>
		
		<div id="tab-tools" style="border:none;border-bottom: 1px solid rgb(149,184,231);">
			<a id="btn_close_current" href="#" class="easyui-linkbutton" plain="true" iconCls="icon-remove"></a>
			<a id="btn_close_all" href="#" class="easyui-linkbutton" plain="true" iconCls="icon-cancel"></a>
		</div>
		
    </div>    
</body>
</html>